package com.mc.clt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 采集标本对象 clt_result_specimen
 *
 * @author mc
 * @date 2021-03-15
 */
public class CltResultSpecimen extends CltResult
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 采集编号 */
    @Excel(name = "采集编号")
    private String cltResultId;

    /** 数量 */
    @Excel(name = "数量")
    private Long count;

    /** 生境 */
    @Excel(name = "生境")
    private String niche;

    /** 伴生种 */
    @Excel(name = "伴生种")
    private String associateSpecies;

    /** 花色 */
    @Excel(name = "花色")
    private String color;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCltResultId(String cltResultId)
    {
        this.cltResultId = cltResultId;
    }

    public String getCltResultId()
    {
        return cltResultId;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }
    public void setNiche(String niche)
    {
        this.niche = niche;
    }

    public String getNiche()
    {
        return niche;
    }
    public void setAssociateSpecies(String associateSpecies)
    {
        this.associateSpecies = associateSpecies;
    }

    public String getAssociateSpecies()
    {
        return associateSpecies;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cltResultId", getCltResultId())
                .append("count", getCount())
                .append("niche", getNiche())
                .append("associateSpecies", getAssociateSpecies())
                .append("color", getColor())
                .append("createTime", getCreateTime())
                .append("createUserId", getCreateUserId())
                .toString();
    }
}